package com.ym521.ymrouter.demo.test;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;

import com.ym521.ymrouter.demo.databinding.ActivityUserBinding;
import com.ym521.ymrouter.facade.annotation.YmRoute;
import com.ym521.ymrouter.launcher.YmRouter;


@YmRoute(path = "/test/user")
public class UserActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        YmRouter.getInstance().inject(this);
        ActivityUserBinding viewBin = ActivityUserBinding.inflate(getLayoutInflater());
        setContentView(viewBin.getRoot());
    }
}